package com.ssyt.yt1.day25;

import java.math.BigDecimal;
import java.util.Date;

/**
 * Java实体，又叫Java bean（属性全封装，有setter&getter方法，有空的构造方法）
 *
 * @author Hsu.
 * @since 2015年12月28日
 */
public class User {

	private int id;
	private String idcard;
	private String username;
	private String password;
	private BigDecimal salary;
	private Date birthday;
	private String memo;

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getIdcard() {
		return idcard;
	}

	public void setIdcard(String idcard) {
		this.idcard = idcard;
	}

	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public BigDecimal getSalary() {
		return salary;
	}

	public void setSalary(BigDecimal salary) {
		this.salary = salary;
	}

	public Date getBirthday() {
		return birthday;
	}

	public void setBirthday(Date birthday) {
		this.birthday = birthday;
	}

	public String getMemo() {
		return memo;
	}

	public void setMemo(String memo) {
		this.memo = memo;
	}

}
